Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: save relative migrations path and add command to fix existing absolute paths #123

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jdachtera
Copy link

@jdachtera jdachtera commented Oct 4, 2024

Fixes #122

  • saves migration file paths as relative to migrationDir instead of absolute paths
  • adds a command to convert existing absolute path entries
  • update packages that caused audit warnings and led to failing ci

@@ -28,14 +28,16 @@ npm install -g mongo-migrate-ts
Usage: mongo-migrate [options] [command]

Options:
-h, --help output usage information
-h, --help display help for command
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change came from the actual output of running the command

@jdachtera
Copy link
Author

@mycodeself, I've added a test and addressed the audit warnings that were causing the CI to fail. Please review the changes and let me know if there’s anything you'd like me to adjust :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use relative migration filename
1 participant